package com.jhy.system.service;

import com.jhy.system.domain.bo.AddFriendBo;
import com.jhy.system.domain.bo.EditFriendApplyBo;
import com.jhy.system.domain.bo.SysUserLoginBo;
import com.jhy.system.domain.vo.SysUserFriendVo;

import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeoutException;

public interface ISysUserFriendService {

    Boolean add(AddFriendBo bo) throws TimeoutException;

    List<SysUserFriendVo> applyList();

    List<SysUserFriendVo> friendList();

    Boolean editFriendApply(EditFriendApplyBo bo);

    SysUserFriendVo findByUserName(String userName);

    List<SysUserFriendVo> findFriendByUserName(String fromUser);
}
